package cn.yoyo.entity;

public class BookType {
    private Integer id;
    private String type;
    private Integer parentid;
    private Integer priority;
    private Integer isdel;

    public BookType() {
    }

    public BookType(Integer id, String type, Integer parentid, Integer priority, Integer isdel) {
        this.id = id;
        this.type = type;
        this.parentid = parentid;
        this.priority = priority;
        this.isdel = isdel;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getParentid() {
        return parentid;
    }

    public void setParentid(Integer parentid) {
        this.parentid = parentid;
    }

    public Integer getPriority() {
        return priority;
    }

    public void setPriority(Integer priority) {
        this.priority = priority;
    }

    public Integer getIsdel() {
        return isdel;
    }

    public void setIsdel(Integer isdel) {
        this.isdel = isdel;
    }

    @Override
    public String toString() {
        return "BookType{" +
                "id=" + id +
                ", type='" + type + '\'' +
                ", parentid=" + parentid +
                ", priority=" + priority +
                ", isdel=" + isdel +
                '}';
    }
}
